package com.jsonal.entity.manager;

import com.jsonal.entity.BasePageBean;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import lombok.Data;

/**
 * @Author: jingji.lin
 * @Description:
 * @Date: 2020/1/6 11:17
 * @Version: 1.0
 */
@Data
public class MenuBean extends BasePageBean {

    private static final long serialVersionUID = 861815785763664973L;
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 父级菜单
     */
    private String parentId;

    /**
     * 图标
     */
    private String icon;

    /**
     * 类型
     */
    private String type;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 菜单地址
     */
    private String url;

    /**
     * 授权
     */
    private String author;

    /**
     * 状态：0-正常，1-异常
     */
    private Boolean status;

    /**
     * 创建时间
     */
    private Date createTime;

    private String userId;

    private List<MenuBean> childrens;
}
